<template>
	<view class="cotent">
		<image src="http://www.itcast.cn/2018czydz/images/gywmban.jpg"></image>
		<view class="info">
			<view @click="Callphone"> 联系电话：15190696293 ( 点击拨打 )</view>
			<view> 校区地址：浙江省杭州市下沙经济开发区4号大街187号盛泰时代山</view>
		</view>
		<map class="map" :longitude="longitude" :latitude="latitude" :scale="scale"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude: 117.213017,
				latitude: 34.269912,
				scale: 15,
				markers: [{
					longitude: 117.213017,
					latitude: 34.269912,
					width: 30,
					height: 30,
				}, ]
			}
		},
		methods: {
			Callphone() {
				uni.makePhoneCall({
					phoneNumber: "15190696293"
				})
			}
		}
	}
</script>

<style lang="scss">
	.cotent {
		image {
			width: 750rpx;
			height: 320rpx;
		}

		.info {
			padding: 10rpx 20rpx;
			font-size: 32rpx;
			line-height: 80rpx;

			view {
				border-bottom: 1px solid #eee;
			}

		}

		.map {
			width: 750rpx;
			height: 750rpx;
		}

	}
</style>
